package cn.itcast.service;

import cn.itcast.domain.Account;
import com.alibaba.druid.sql.visitor.functions.Insert;

import java.util.List;

public interface AccountService {

    List<Account> finAll()throws Exception;

    void delete(Integer id)throws Exception;

    void add(Account account)throws Exception;

    void update(Account account)throws Exception;
}
